testheaderbar: Fix custom CSS
authorTimm Bäder <mail@baedert.org>
Sun, 24 Dec 2017 15:27:54 +0000 (16:27 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 28 Dec 2017 15:48:35 +0000 (16:48 +0100)
tests/testheaderbar.c

index 3f2bf3263ede7850c630119ce056a7ea80b573d3..3a8121d25150fd5459185c151c06a9054a76c8ed 100644 (file)
@@ -2,9 +2,7 @@
 
 static const gchar css[] =
  ".main.background { "
- " background-image: -gtk-gradient (linear, center top, center bottom, "
- "      from (red), "
- "      to (blue)); "
+ " background-image: linear-gradient(to bottom, red, blue);"
  " border-width: 0px; "
  "}"
  ".titlebar.backdrop { "
@@ -13,9 +11,7 @@ static const gchar css[] =
  " border-radius: 10px 10px 0px 0px; "
  "}"
  ".titlebar { "
- " background-image: -gtk-gradient (linear, center top, center bottom, "
- "      from (white), "
- "      to (@bg_color)); "
+ " background-image: linear-gradient(to bottom, white, @bg_color);"
  " border-radius: 10px 10px 0px 0px; "
  "}";